package com.example.laboratory.ui.core.model;

import com.example.laboratory.bean.Items;
import com.example.laboratory.bean.Laboratory;
import com.example.laboratory.bean.UserList;
import com.example.laboratory.net.callback.RxObserver;

public interface ILaboratoryModel {
    /**
     * 添加巡检记录
     */
    void addLabs(Laboratory.RowsBean rowsBean, RxObserver<String> callback);
    void getItemsByBelong(String belong, RxObserver<Items> rxObserver);


    /**
     * 根据学院获取用户列表
     * @param departId
     * @param permission
     * @param rxObserver
     */
    void getUsersByDepartId(String departId,String permission, RxObserver<UserList> rxObserver);

}
